cmake_minimum_required(VERSION 3.16)
PROJECT(TestProject)
set(CMAKE_BUILD_TYPE Debug)
include_directories(./inc)
message(${PROJECT_SOURCE_DIR})
file(GLOB_RECURSE SOURCES ${PROJECT_SOURCE_DIR}/src/*.cpp)
find_package(ROOT REQUIRED)
include_directories(${ROOT_INCLUDE_DIRS})
find_package(OpenMP REQUIRED)
include_directories(${OpenMP_INCLUDE_DIR})
add_executable(${PROJECT_NAME} TestMain.cpp ${SOURCES})
target_link_libraries(${PROJECT_NAME} ${ROOT_LIBRARIES} OpenMP::OpenMP_CXX)